<extend name="Public/frame" />
<block name="content-box">

    <form class="form-horizontal tpx-ajaxsubmit" role="form" action="{:U(CONTROLLER_NAME.'/'.ACTION_NAME)}" method="post">		
        <div class="form-group">
            <label class="col-sm-2 control-label">SEO标题</label>
            <div class="col-sm-9">
                <input name="home_title"
                       type="text"
                       class="form-control"
                       placeholder=""
                       value="{$home_title|t_html}"
                        />
                <div class="help-block"></div>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">SEO关键词</label>
            <div class="col-sm-9">
                <input name="home_keywords"
                       type="text"
                       class="form-control"
                       placeholder=""
                       value="{$home_keywords|t_html}"
                        />
                <div class="help-block"></div>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">SEO描述</label>
            <div class="col-sm-9">
                <input name="home_description"
                       type="text"
                       class="form-control"
                       placeholder=""
                       value="{$home_description|t_html}"
                        />
                <div class="help-block"></div>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label">首页公司介绍</label>
            <div class="col-sm-9">
                <script id="home_about" name="home_about" type="text/plain">
                            {$home_about}
                        </script>
                <script type="text/javascript">
                    require(["ueditor"],function(){
                        var ue = UE.getEditor('home_about') ;
                        if(TPX.UEDITOR){
                            TPX.UEDITOR.push(ue);
                        }
                    });
                </script>
                <div class="help-block"></div>
            </div>
        </div>		
		
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary">{$Think.lang.submit}</button>
            </div>
        </div>

    </form>

</block>